/**
 * Javascript file for handling the current release.
 * It will be filled while selecting a release from the list or when adding a release.
 * 
 * @author Erwin Goossen
 */

function currentRelease(artist) {
	this.artist_id	= 0;
	this.artist 	= '';
	this.art_mb_id 	= '';
	this.art_from 	= '';
	this.art_till 	= '';
	this.album_id	= 0;
	this.album 		= '';
	this.albumYear 	= '';
	this.alb_mb_id 	= '';
	this.cover 		= '';
	this.songs 		= [];
	this.showRelease = showRelease;
}

function showRelease() {
	with (this) alert(artist + '/' + album + '/' + albumYear);
}
